@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,600);

.login-container .form-control{
    background: transparent;
}
.login-container form {
    margin: 20px;
}
.login-container form > div {
    position: relative;
    overflow: hidden;
}
.login-container form input, .login-container  form textarea {
    width: 100%;
    /*border: 2px solid gray;*/
    background: none;
    position: relative;
    top: 0;
    left: 0;
    z-index: 1;
    padding: 8px 12px;
    outline: 0;
}
.login-container form input:valid,.login-container form textarea:valid {
    background: white;
}
.login-container form input:focus, form textarea:focus {
    border-color: #357EBD;
}
.login-container form input:focus + label, .login-container form textarea:focus + label {
    background: #357EBD;
    color: white;
    font-size: 70%;
    padding: 1px 6px;
    z-index: 2;
    text-transform: uppercase;
}
.login-container form label {
    -webkit-transition: background 0.2s, color 0.2s, top 0.2s, bottom 0.2s, right 0.2s, left 0.2s;
    transition: background 0.2s, color 0.2s, top 0.2s, bottom 0.2s, right 0.2s, left 0.2s;
    position: absolute;
    color: #999;
    padding: 7px 6px;
    font-weight: normal;
}
.login-container form textarea {
    display: block;
    resize: vertical;
}
.login-container form.go-bottom input, .login-container form.go-bottom textarea {
    padding: 12px 12px 12px 12px;
}
.login-container form.go-bottom label {
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
}
.login-container form.go-bottom input:focus, .login-container form.go-bottom textarea:focus {
    padding: 4px 6px 20px 6px;
}
.login-container form.go-bottom input:focus + label, .login-container form.go-bottom textarea:focus + label {
    top: 100%;
    margin-top: -16px;
}
.login-container form.go-right label {
    border-radius: 0 5px 5px 0;
    height: 100%;
    top: 0;
    right: 100%;
    width: 100%;
    margin-right: -100%;
}
.login-container form.go-right input:focus + label, .login-container form.go-right textarea:focus + label {
    right: 0;
    margin-right: 0;
    width: 40%;
    padding-top: 5px;
}